import request from '@/utils/request'

// 列表
export function signatoryList(query) {
    return request({
        url: '/h5/apply/signatoryList',
        method: 'get',
        params: query
    })
}

// 新增
export function addSignatory(data) {
    return request({
        url: '/h5/apply/addSignatory',
        method: 'post',
        data: data
    })
}

// 详情
export function signatoryInfo(signatoryId) {
    return request({
        url: '/h5/apply/signatoryInfo/' + signatoryId,
        method: 'get'
    })
}

// 修改
export function editSignatory(data) {
    return request({
        url: '/h5/apply/editSignatory',
        method: 'put',
        data: data
    })
}

// 删除
export function removeSignatory(signatoryId) {
    return request({
        url: '/h5/apply/removeSignatory/' + signatoryId,
        method: 'delete'
    })
}